<!-- 比赛赛段信息 -->
<template>
	<view class="container">
		<view class="c-module">
			<view class="module-item" v-for="(item,index) in gameList" :key="index">
				<Division :info="item"></Division>
			</view>
		</view>
	</view>
</template>

<script>
	import Division from "@/pages/pages_game/module/Division"
	export default {
		name:"gameDivision",
		components:{
			Division
		},
		data() {
			return {
				// 赛段列表
				gameList : [],
			}
		},
		onLoad(query) {
			this.typeId = query.id
			this.getGameDivisionList(query.id)
		},
		methods: {
			// 获取赛段列表
			getGameDivisionList(id){
				this.$http.getGameDivisionList({type_id:id}).then(res=>{
					this.gameList = res.data
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.container{
		.c-module{
			width: 100%;
			.module-item{
				
			}
		}
	}
</style>
